<script type='text/javascript' src='http://www.scribd.com/javascripts/view.js'></script>

<div id='embedded_flash'><a href="http://www.scribd.com"></a></div>

<script type="text/javascript">
    var scribd_doc = scribd.Document.getDoc('21711708', 'key-1rxhahz5nqr8o4ycsv9w' );

    //var oniPaperReady = function(e){
       // scribd_doc.api.setFullscreen(true);
      // scribd_doc.api.setPage(3);
    //}

    scribd_doc.addParam('jsapi_version', 1);
    scribd_doc.addParam('height', 455);
    scribd_doc.addParam('hide_full_screen_button', 'true');
    scribd_doc.addParam('full_screen_type', 'url');
    //scribd_doc.addEventListener('iPaperReady', oniPaperReady);
    scribd_doc.write('embedded_flash');
</script>
<div style="padding: 1em 0.75em 1.5em 0.75em; background-color: #fff; overflow: hidden">

<% form_tag :controller => "members", :action => "signed" do %>

    <%= error_messages_for "member" %>

    <div style="margin-bottom: 0.5em;">
        <% if @error != nil %>
        	<font color = "red"> <%= @error %></font><br>
        <% end %>

        <%= check_box "accept", "signed" %>
        I, <%= @member.full_name %>, hereby agree to abide by the guidelines provided
        by the above Social Responsibility Code.
    </div>
    <%= submit_tag "Sign" %>

<% end %>

</div>
